home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 3.iso / dist / fw_qt3.idb / usr / freeware / Qt / examples / demo / sql / connect.ui.z / connect.ui
Encoding:
Qt User Interface  |  2002-04-08  |  8.9 KB  |  245 lines

  1. <!DOCTYPE UI><UI version="3.0" stdsetdef="1">
  2. <class>ConnectDialog</class>
  3. <widget class="QDialog">
  4.     <property name="name">
  5.         <cstring>ConnectDialog</cstring>
  6.     </property>
  7.     <property name="geometry">
  8.         <rect>
  9.             <x>0</x>
  10.             <y>0</y>
  11.             <width>303</width>
  12.             <height>247</height>
  13.         </rect>
  14.     </property>
  15.     <property name="caption">
  16.         <string>Connect...</string>
  17.     </property>
  18.     <vbox>
  19.         <property name="name">
  20.             <cstring>unnamed</cstring>
  21.         </property>
  22.         <property name="margin">
  23.             <number>11</number>
  24.         </property>
  25.         <property name="spacing">
  26.             <number>6</number>
  27.         </property>
  28.         <widget class="QGroupBox">
  29.             <property name="name">
  30.                 <cstring>GroupBox3</cstring>
  31.             </property>
  32.             <property name="title">
  33.                 <string>Connection settings</string>
  34.             </property>
  35.             <grid>
  36.                 <property name="name">
  37.                     <cstring>unnamed</cstring>
  38.                 </property>
  39.                 <property name="margin">
  40.                     <number>11</number>
  41.                 </property>
  42.                 <property name="spacing">
  43.                     <number>6</number>
  44.                 </property>
  45.                 <widget class="QLineEdit" row="1" column="1">
  46.                     <property name="name">
  47.                         <cstring>editDatabase</cstring>
  48.                     </property>
  49.                 </widget>
  50.                 <widget class="QLabel" row="1" column="0">
  51.                     <property name="name">
  52.                         <cstring>TextLabel3</cstring>
  53.                     </property>
  54.                     <property name="text">
  55.                         <string>Database Name:</string>
  56.                     </property>
  57.                     <property name="buddy" stdset="0">
  58.                         <cstring>comboDatabase</cstring>
  59.                     </property>
  60.                 </widget>
  61.                 <widget class="QLineEdit" row="3" column="1">
  62.                     <property name="name">
  63.                         <cstring>editPassword</cstring>
  64.                     </property>
  65.                     <property name="echoMode">
  66.                         <enum>Password</enum>
  67.                     </property>
  68.                 </widget>
  69.                 <widget class="QLabel" row="2" column="0">
  70.                     <property name="name">
  71.                         <cstring>TextLabel4</cstring>
  72.                     </property>
  73.                     <property name="text">
  74.                         <string>&Username:</string>
  75.                     </property>
  76.                     <property name="buddy" stdset="0">
  77.                         <cstring>editUsername</cstring>
  78.                     </property>
  79.                 </widget>
  80.                 <widget class="QLabel" row="3" column="0">
  81.                     <property name="name">
  82.                         <cstring>TextLabel4_2</cstring>
  83.                     </property>
  84.                     <property name="text">
  85.                         <string>&Password:</string>
  86.                     </property>
  87.                     <property name="buddy" stdset="0">
  88.                         <cstring>editPassword</cstring>
  89.                     </property>
  90.                 </widget>
  91.                 <widget class="QComboBox" row="0" column="1">
  92.                     <property name="name">
  93.                         <cstring>comboDriver</cstring>
  94.                     </property>
  95.                 </widget>
  96.                 <widget class="QLineEdit" row="2" column="1">
  97.                     <property name="name">
  98.                         <cstring>editUsername</cstring>
  99.                     </property>
  100.                 </widget>
  101.                 <widget class="QLineEdit" row="4" column="1">
  102.                     <property name="name">
  103.                         <cstring>editHostname</cstring>
  104.                     </property>
  105.                 </widget>
  106.                 <widget class="QLabel" row="4" column="0">
  107.                     <property name="name">
  108.                         <cstring>TextLabel5</cstring>
  109.                     </property>
  110.                     <property name="text">
  111.                         <string>&Hostname:</string>
  112.                     </property>
  113.                     <property name="buddy" stdset="0">
  114.                         <cstring>editHostname</cstring>
  115.                     </property>
  116.                 </widget>
  117.                 <widget class="QLabel" row="5" column="0">
  118.                     <property name="name">
  119.                         <cstring>TextLabel5_2</cstring>
  120.                     </property>
  121.                     <property name="text">
  122.                         <string>P&ort:</string>
  123.                     </property>
  124.                     <property name="buddy" stdset="0">
  125.                         <cstring>portSpinBox</cstring>
  126.                     </property>
  127.                 </widget>
  128.                 <widget class="QSpinBox" row="5" column="1">
  129.                     <property name="name">
  130.                         <cstring>portSpinBox</cstring>
  131.                     </property>
  132.                     <property name="specialValueText">
  133.                         <string>Default</string>
  134.                     </property>
  135.                     <property name="maxValue">
  136.                         <number>65535</number>
  137.                     </property>
  138.                     <property name="minValue">
  139.                         <number>-1</number>
  140.                     </property>
  141.                     <property name="value">
  142.                         <number>-1</number>
  143.                     </property>
  144.                 </widget>
  145.                 <widget class="QLabel" row="0" column="0">
  146.                     <property name="name">
  147.                         <cstring>TextLabel2</cstring>
  148.                     </property>
  149.                     <property name="text">
  150.                         <string>D&river</string>
  151.                     </property>
  152.                     <property name="buddy" stdset="0">
  153.                         <cstring>comboDriver</cstring>
  154.                     </property>
  155.                 </widget>
  156.             </grid>
  157.         </widget>
  158.         <widget class="QLayoutWidget">
  159.             <property name="name">
  160.                 <cstring>Layout25</cstring>
  161.             </property>
  162.             <hbox>
  163.                 <property name="name">
  164.                     <cstring>unnamed</cstring>
  165.                 </property>
  166.                 <property name="margin">
  167.                     <number>0</number>
  168.                 </property>
  169.                 <property name="spacing">
  170.                     <number>6</number>
  171.                 </property>
  172.                 <spacer>
  173.                     <property name="name">
  174.                         <cstring>Spacer1</cstring>
  175.                     </property>
  176.                     <property name="orientation">
  177.                         <enum>Horizontal</enum>
  178.                     </property>
  179.                     <property name="sizeType">
  180.                         <enum>Expanding</enum>
  181.                     </property>
  182.                     <property name="sizeHint">
  183.                         <size>
  184.                             <width>20</width>
  185.                             <height>20</height>
  186.                         </size>
  187.                     </property>
  188.                 </spacer>
  189.                 <widget class="QPushButton">
  190.                     <property name="name">
  191.                         <cstring>PushButton1</cstring>
  192.                     </property>
  193.                     <property name="text">
  194.                         <string>&OK</string>
  195.                     </property>
  196.                     <property name="default">
  197.                         <bool>true</bool>
  198.                     </property>
  199.                 </widget>
  200.                 <widget class="QPushButton">
  201.                     <property name="name">
  202.                         <cstring>PushButton2</cstring>
  203.                     </property>
  204.                     <property name="text">
  205.                         <string>&Cancel</string>
  206.                     </property>
  207.                 </widget>
  208.             </hbox>
  209.         </widget>
  210.     </vbox>
  211. </widget>
  212. <connections>
  213.     <connection>
  214.         <sender>PushButton1</sender>
  215.         <signal>clicked()</signal>
  216.         <receiver>ConnectDialog</receiver>
  217.         <slot>accept()</slot>
  218.     </connection>
  219.     <connection>
  220.         <sender>PushButton2</sender>
  221.         <signal>clicked()</signal>
  222.         <receiver>ConnectDialog</receiver>
  223.         <slot>reject()</slot>
  224.     </connection>
  225. </connections>
  226. <tabstops>
  227.     <tabstop>comboDriver</tabstop>
  228.     <tabstop>editDatabase</tabstop>
  229.     <tabstop>editUsername</tabstop>
  230.     <tabstop>editPassword</tabstop>
  231.     <tabstop>editHostname</tabstop>
  232.     <tabstop>portSpinBox</tabstop>
  233.     <tabstop>PushButton1</tabstop>
  234.     <tabstop>PushButton2</tabstop>
  235. </tabstops>
  236. <includes>
  237.     <include location="local" impldecl="in implementation">connect.ui.h</include>
  238. </includes>
  239. <slots>
  240.     <slot>init()</slot>
  241.     <slot>destroy()</slot>
  242. </slots>
  243. <layoutdefaults spacing="6" margin="11"/>
  244. </UI>
  245.